<?php

/**
 * Default home page view
 *  
 * @author
 * @version
 */

echo '<?xml version="1.0" encoding="UTF-8" ?>
'; 
?>  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=gbk" />
        <title>New Zend Framework Project</title>
        <style type="text/css">
            @import "<?php echo BAOGG_AJAX; ?>dojo/dojo/resources/dojo.css";
            @import "<?php echo BAOGG_AJAX; ?>dojo/dijit/themes/tundra/tundra.css"; 
			html, body,#body, #main,#mainContent{	
				width: 100%;	/* make the body expand to fill the visible window */
				height: 100%;
				overflow: hidden;	/* erase window level scrollbars */
				padding: 0 0 0 0;
				margin: 0 0 0 0;
				font: 10pt Arial,Myriad,Tahoma,Verdana,sans-serif;
				border:0;
			}
			
			/*#header, #leftMenu, #body, #help, #footer, #main {
                
                border: 3px solid #f00;
            }*/
        </style>
        <script type="text/javascript" src="<?php echo BAOGG_AJAX ?>dojo/dojo/dojo.js" charset="utf-8">
        </script>
        <script type="text/javascript">
            dojo.require("dojo.parser");
            dojo.require("dijit.dijit");
            dojo.require("dijit.Declaration");
            dojo.require("dijit.layout.BorderContainer");
            dojo.require("dijit.layout.AccordionContainer");
            dojo.require("dijit.layout.TabContainer");
            dojo.require("dijit.layout.ContentPane");
            dojo.require("dijit.Tree");
			dojo.require("dojo.io.iframe");
			
            dojo.addOnLoad(function(){
                dojo.parser.parse();
				dojo.attr(dojo.byId("mainContent"),'src',"/ajax/ext22/docs/index.html");
				//dojo.byId("body").refresh();
            });
        </script>
    </head>
    <body class="tundra">
        <div dojoType="dijit.layout.BorderContainer" id="main">
            <!-- begin top -->
            <div dojoType="dijit.layout.ContentPane" id="header" region="top" style="height:25px;">
                <span style="float:right;">System Title</span>
            </div>
            <!-- end top -->
			
			<!-- begin sidebar navigator menu -->
             <div dojoType="dijit.layout.AccordionContainer" title="Menus"  region="left" id="leftMenu" style="width:200px;" splitter="true">
                <div dojoType="dijit.layout.AccordionPane" title="Folders">
                	<ul>
                		<li>ssssss</li>
						<li>ssssss</li>
						<li>ssssss</li>
						<li>ssssss</li>
						<li>ssssss</li>
						<li>ssssss</li>
                	</ul>
                </div>
				<div dojoType="dijit.layout.AccordionPane" title="Titles">
					<ul>
                		<li>ssssss</li>
						<li>ssssss</li>
						<li>ssssss</li>
						<li>ssssss</li>
						<li>ssssss</li>
						<li>ssssss</li>
                	</ul>
                </div>
            </div>
            <!-- end sidebar navigator menu -->
			<!-- begin centter region -->
            <div dojoType="dijit.layout.ContentPane" region="center" id="body">
               <iframe id="mainContent" src="/ajax/dojo/demos/mail/demo.html" style="maring:0px;padding:0px;width:100%;height:100%;">
                	
                </iframe>
            </div>
            <!-- end center region --><!-- begin righ region -->
            <div dojoType="dijit.layout.ContentPane" region="right" id="help" align="left" style="width:200px;" splitter="true">
                <span style="float:right;">Help context</span>
            </div>
            <!-- end right region --><!-- begin bottom -->
            <div dojoType="dijit.layout.ContentPane" region="bottom" id="footer" align="left" style="height:50px;width:100%;">
                <span style="float:right;">Copy right@baogg</span>
            </div>
            <!-- end bottom -->
        </div>
    </body>
</html>
